# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

# 定义组件
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} managed_components/esp_net_communciate")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} managed_components/esp_wifi_connect")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} managed_components/esp_base64")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} managed_components/espressif__button")


# 定义Kconfig文件（将组件目录下的Kconfig文件设置为配置文件）
set(COMPONENT_KCONFIGS ${COMPONENT_DIR}/Kconfig)


add_compile_options(-Wno-missing-field-initializers)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp32s3_robot)